package com.gitee.xmhzzz.component.mqtt.client;


import com.gitee.xmhzzz.component.mqtt.client.config.MqttConfig;
import com.gitee.xmhzzz.component.mqtt.client.model.MqttReq;
import com.gitee.xmhzzz.component.mqtt.client.model.MqttResp;

/**
  * @ClassName
  * @Description
  * @Author wzq
  * @Date 2024/1/22 14:07
  * @Version 1.0
  */
public interface IMqttClient {

     MqttClientApp connect();

     boolean isConnect();

     boolean disconnect();

     MqttResp publish(MqttReq request);

     MqttConfig getMqttConfig();

     void mqttStop();

}
